package com.mspbots.core.script.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.mspbots.core.DefaultBaseService;
import com.mspbots.core.script.model.ScriptParam;
import com.mspbots.core.script.model.SystemScript;

import java.util.List;

/**
 * com.mspbots.core.script.service.SystemScriptService
 *
 * @author Jason
 * @date 2019/12/16
 **/
public interface SystemScriptService extends DefaultBaseService<SystemScript> {

    SystemScript saveOrUpdateScript(SystemScript entity);

    Boolean addParamByName(ScriptParam queryParams);

    List<SystemScript> querylist(QueryWrapper<SystemScript> queryWrapper);
}
